package com.example.housekeeping.pojo.dto;

import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.Date;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.Null;

/**
 * 管理员
 * @author H Wang
 * @TableName admin
 * @UpdateTime  2023/03/26 10:29
 */
@Data
public class AdminUpdateDTO implements Serializable {
    /**
     * 用户名
     */
    @ApiModelProperty(name = "username",value = "用户名",example = "测试数据01",dataType = "String")
    private String username;

    /**
     * 密码（密文）
     */
    @ApiModelProperty(name = "password",value = "密码",example = "123465",dataType = "String")
    private String password;

    /**
     * 昵称
     */
    @ApiModelProperty(name = "nickname",value = "昵称",example = "tony",dataType = "String")
    private String nickname;

    /**
     * 头像URL
     */
    @ApiModelProperty(name = "avatar",value = "头像",example = "https://123.cn",dataType = "String")
    private String avatar;

    /**
     * 手机号码
     */
    @ApiModelProperty(name = "phone",value = "手机号码" ,example = "1234587765",dataType = "String")
    private String phone;

    /**
     * 电子邮箱
     */
    @ApiModelProperty(name = "email",value = "电子邮箱" ,example = "46513279@126.com",dataType = "String")
    private String email;

    /**
     * 简介
     */
    @ApiModelProperty(name = "description",value = "简介",example = "测试简介01",dataType = "String")
    private String description;

    /**
     * 是否启用，1=启用，0=未启用
     */
    @ApiModelProperty(name = "enable",value = "是否启用，1=启用，0=未启用" ,example = "0",dataType = "Integer")
    private Integer enable;


    private static final long serialVersionUID = 1L;
}